#include <all_wlib.h>
#pragma hdrstop
#pragma resource "HCButtons.res"
USERES("ozim.res");
USEFORM("oz_Main.cpp", MainForm);
USEUNIT("oziapi.cpp");
USEFORM("ozf_Base.cpp", OziBaseForm);
USEFORM("ozf_Compas.cpp", OziCompasForm);
USEFORM("ozf_Test.cpp", TestForm);
USEFORM("oz_Cfg.cpp", OziCfgForm);
USEFORM("ozf_Speed.cpp", OziSpeedForm);
USELIB("..\LIBS\win_s.lib");
USELIB("..\LIBS\comps_s.lib");
USELIB("..\LIBS\std_s.lib");
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  {
    try {
      Application->Initialize();
      Application->CreateForm(__classid(TMainForm), &MainForm);
                 Application->Run();
    }
    catch (Exception &exception) {
       Application->ShowException(&exception);
    }
 return 0;
}